include ../makefile.head


# Implicit rules
SUFFIXES = .o .c .h .a .so .sl

COMPILE.c=$(CC) $(CFLAGS) -c
	#(echo "compiling $< ...")
.c.o:
	($(COMPILE.c) -o $@ $<)


SRCS = mythread.c

OBJS = $(SRCS:.c=.o)


default:	libmythread.a

libmythread.a:	$(OBJS)
	@($(AR) $(ARFLAGS) $(OUTDIR)/libmythread.a $(OBJS))

clean:
	$(RM) $(OBJS) $(OUTDIR)/libgtthread.a
symlink:
veryclean:
	$(RM) $(OBJS) $(OUTDIR)/libgtthread.a

